package io.gitee.yxsnake.embark.web.core.configuration.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.stereotype.Component;

/**
 * @author: snake
 * @create-time: 2024-09-29
 * @description:
 * @version: 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "web-core")
public class WebCoreProperties {

    @NestedConfigurationProperty
    private HealthProperties health = new HealthProperties();

    @NestedConfigurationProperty
    private XssProperties xss = new XssProperties();

    @NestedConfigurationProperty
    private TraceProperties trace = new TraceProperties();


}
